#pragma once
#include "../include/rtklib.h"
#include <string>
#define _CRT_SECURE_NO_WARNINGS
using std::string;

class CHandleDecode
{
public:
	CHandleDecode();
	CHandleDecode(string path, string mode);
	void Initial();
	void DecodeBin();
	void DecodeTxt();
	void OutputFile();
	~CHandleDecode();

private:
	FILE* m_fpin;
	raw_t *m_ublox_raw;
	int m_cycle_count;

};
